﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Soft.Data
{
    /// <summary>
    /// 连接字符创建者基类
    /// </summary>
    public abstract class BaseConnectionStringBuilder : SoftObject
    {
  

        /// <summary>
        /// 用户ID
        /// </summary>
        [Description("获取或设置连接到 SQL Server 时要使用的用户 ID")]
        public string UserID { get; set; }
    

        /// <summary>
        /// 用户名密码
        /// </summary>
        [Description("获取或设置 SQL Server 帐户的密码")]
        public string Password { get; set; } = "";


        /// <summary>
        /// 连接字符串
        /// </summary>
        [Description("获取或设置与 MS Sql Server 相关联的连接字符串")]
        public abstract string ConnectionString { get; set; }


    }
}
